package com.icode.dao;

import com.icode.core.model.house.ExchangePool;
import com.icode.core.model.user.User;
import com.icode.core.model.user.UserInfo;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: xianfei
 * Date: 15-6-8
 * Time: 下午3:26
 * To change this template use File | Settings | File Templates.
 */
public interface ExchangeDao extends EntityDao {

    List<ExchangePool> findExchangePoolByHouseBase(String userInfo);

    List<ExchangePool> findExchangePoolByApartment(String userInfo);

    List<ExchangePool> findExchangePoolByUserInfo(UserInfo userInfo);

    List<ExchangePool> findExchangePoolNotUserInfo(UserInfo userInfo);

    UserInfo findUserInfoByUser(User user);

    List<ExchangePool> findAllExchangePools(String userInfo);

    List<ExchangePool> findExchageHouseByUsername(String username);
}